package com.bwie.bargain.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.bargain.vo.BargainVo;
import com.bwie.bargain.vo.UserVo;
import com.bwie.miaosha.common.utils.PageUtils;
import com.bwie.bargain.entity.BargainEntity;
import com.bwie.miaosha.common.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author HouDing
 * @email 1398853436@qq.com
 * @date 2022-03-09 20:02:51
 */
public interface BargainService extends IService<BargainEntity> {



    PageUtils queryPage(Map<String, Object> params);

    List<BargainVo> barginList();

    BargainVo findByBargainId(Long bargainId);

    void add(Long uid, BargainVo bargainVo);

    UserVo findByUserId(Long userId);

    R getLink(Long userId, Long id,Long helpId);
}

